
<form id="form_edit">
<fieldset>
<legend>物料信息</legend>
<input type="hidden" name="id" value="{[$smarty.request.id]}" />
  <table>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3">{[$result.name]}</td>
	</tr>
	<tr>
		<td align="right">规格：</td>
		<td colspan="3">{[$result.standard]}</td>
	</tr>	
	<tr>		
		<td align="right">数量：</td>
		<td><input type="text" name="amount2" id="amount2" size="8" value="{[$result.amount2|string_float]}"></td>
		<td align="right">单位：</td>
		<td>{[$result.unit2]}</td>			
	</tr>
	<tr>
		<td align="right">单价：</td>
		<td><input type="text" name="price2" id="price2" size="8" value="{[$result.price2|string_price]}" disabled></td>
		<td align="right">税率：</td>
		<td>{[$result.tax]}（单位：%）</td>			
	</tr>
	<tr>		
		<td width="20%" align="right">价税金额：</td>
		<td width="30%"><input type="text" name="total" id="total" size="8" value="{[$result.total|string_price]}" disabled></td>
		<td width="20%" align="right"></td>
		<td width="30%"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="2" name="content" id="content" cols="55">{[$result.content]}</textarea></td>
	</tr>		
  </table>
</fieldset>

<fieldset>
<legend>入库单位</legend>
<table>
    <tr>		
		<td width="20%" align="right">数量：</td>
		<td width="30%">{[$result.amount|string_float]}</td>
		<td width="20%" align="right">单位：</td>
		<td width="30%">{[$result.unit]}</td>			
	</tr>
  </table>
</form>

<script type="text/javascript" src="js/material/in/record/edit.js?r={[$smarty.now]}"></script>